<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%--
  Created by IntelliJ IDEA.
  User: 张俊强~
  Date: 2016/10/27
  Time: 18:29
  To change this template use File | Settings | File Templates.
--%>
<html>
<head>
    <title></title>
  <%--<script src="${ctx}/assets/js/jquery-1.9.1.js"></script>--%>
  <script>

    $(function(){
      var time=new Date().format('yyyy-MM-dd hh:mm:ss');
      $("#mysign").html("缄口不言的个人空间  "+"当前时间"+time)
    })

    Date.prototype.format = function (format) {
      var args = {
        "M+": this.getMonth() + 1,
        "d+": this.getDate(),
        "h+": this.getHours(),
        "m+": this.getMinutes(),
        "s+": this.getSeconds(),
        "q+": Math.floor((this.getMonth() + 3) / 3),  //quarter
        "S": this.getMilliseconds()
      };
      if (/(y+)/.test(format))
        format = format.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
      for (var i in args) {
        var n = args[i];
        if (new RegExp("(" + i + ")").test(format))
          format = format.replace(RegExp.$1, RegExp.$1.length == 1 ? n : ("00" + n).substr(("" + n).length));
      }
      return format;
    };

  </script>
</head>
<body>
<div style="padding-top:30px;width: 1310px;height: 50px;background-color:rgba(251, 199, 211, 0.4);float: left;margin-top: 5px;text-align: center">
  <span id="mysign" style="margin-top: 25px">缄口不言的个人空间&nbsp2016-10-27</span>
</div>
</body>
</html>
